import {inject, observer} from 'mobx-react';
import Router from 'next/router';
import React from 'react';

import * as NProgress from 'nprogress';
import {getStore, Store} from './stores';

// Router.events.on('routeChangeStart', () => {
// 	NProgress.start();
// });
//
// Router.events.on('routeChangeComplete', (url) => {
// 	NProgress.done();
// 	const store = getStore();
// 	if (store) {
// 		store.changeCurrentUrl(url);
// 	}
// });
//
// Router.events.on('routeChangeError', () => NProgress.done());
// 做一个hoc高阶组件
export default function withAuth() {

}
